UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Photon operating system must be configured so that all cron paths are protected from unauthorized modification.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239174 PHTN-67-000103 SV-239174r675330_rule Medium
Description
If cron files and folders are accessible to unauthorized users, malicious jobs may be created.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-09-27

Details

Check Text ( C-42385r675328_chk )
At the command line, execute the following command:

# stat -c "%n permissions are %a and owned by %U:%G" /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly

Expected result:

/etc/cron.d permissions are 755 and owned by root:root
/etc/cron.daily permissions are 755 and owned by root:root
/etc/cron.hourly permissions are 755 and owned by root:root
/etc/cron.monthly permissions are 755 and owned by root:root
/etc/cron.weekly permissions are 755 and owned by root:root

If the output does not match the expected result, this is a finding.
Fix Text (F-42344r675329_fix)
At the command line, execute the following commands for each returned file:

# chmod 755
# chown root:root